package com.resource.project.service.system.service;

import com.resource.project.entity.RespBean;
import com.resource.project.entity.system.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author resource
 * @since 2020-03-14
 */
public interface IRoleService extends IService<Role> {
    List<Role> roles();

    int addNewRole( String role,String roleZh);

    int deleteRoleById(Long rid);

    RespBean addRole(Role role);

    RespBean deleteRole(Long id);
}
